When developing a COM based application sometimes it’s sometimes useful to register all the DLLs/OCX at once.
From a command prompt
|
1 |
C:develepprojectrelease>for %i in (*.dll,*.ocx) do regsvr32.exe %i /s |
This will try to register all dll’s even if they are not COM dlls. This is fine as the registration will fail silently.You can change the above command to register COM servers eg
|
1 |
C:develepprojectrelease>for %i in (*.exe) do %i -RegServer |
This document contains proprietary information and is protected by copyright law.
Copyright © 2026 Red Gate Software Limited. All rights reserved
Load comments